package com.mongo.jdbc.example.service.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mongo.jdbc.example.dao.IUserDao;
import com.mongo.jdbc.example.entity.UserEntity;
import com.mongo.jdbc.example.service.IUserService;

/**
 * 
 * @author:binggong
 * @createtime: 2023年12月10日 下午7:20:50 
 * @version:V.0.1
 * @tag:
 *
 */
@Service
public class UserServiceImp implements IUserService {

	
	@Autowired
	private IUserDao userDao;
	
	@Override
	public void addData(UserEntity data) throws Exception {
		// TODO Auto-generated method stub
		userDao.addData(data);
	}

}


